package com.hyst.domain;

import java.math.BigDecimal;
import java.util.Date;

import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Transient;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.transaction.annotation.Transactional;

/**
 * 实体
 */
@Data
@ApiModel(value = "", description = "")

public class StudentView {

	@ApiModelProperty(value = "id")
	@GeneratedValue(strategy = GenerationType.IDENTITY)
	private Integer id;

	@Id
	@ApiModelProperty(value = "学员id")
	private String studentId;

	@ApiModelProperty(value = "英文名")
	private String enName;

	@ApiModelProperty(value = "性别")
	private String sex;

	@ApiModelProperty(value = "年龄")
	private Integer age;

	@ApiModelProperty(value = "QQ号")
	private Integer qq;

	@ApiModelProperty(value = "微信号")
	private String wechat;

	@ApiModelProperty(value = "上课账号")
	private String zoomId;

	@ApiModelProperty(value = "邮箱")
	private String email;

	@ApiModelProperty(value = "电话号")
	private String phone;

	@ApiModelProperty(value = "地址")
	private String address;

	@ApiModelProperty(value = "英语水平")
	private String englishLevel;

	@ApiModelProperty(value = "需要加强")
	private String englishAbility;

	@ApiModelProperty(value = "teacher_id")
	private String teacherId;

	@ApiModelProperty(value = "负责人id")
	private String fuzerenId;

	@ApiModelProperty(value = "推荐人id")
	private String recommend;

	@ApiModelProperty(value = "推荐人名称")
	private String recommendName;

	@ApiModelProperty(value = "试听时间")
	private String auditionTime;

	@ApiModelProperty(value = "试听次数")
	private Integer auditionCount;

	@ApiModelProperty(value = "正式时间")
	private Date formalTime;

	@ApiModelProperty(value = "课程id")
	private String cource;

	@ApiModelProperty(value = "课程等级")
	private String courceLevel;

	@ApiModelProperty(value = "是否喜欢家庭作业")
	private String homeworkLike;

	@ApiModelProperty(value = "备注")
	private String comments;

	@ApiModelProperty(value = "申请日期")
	private Date applyTime;

	@ApiModelProperty(value = "老师名称")
	private String teacherName;

	@ApiModelProperty(value = "负责人名称")
	private String fuzerenName;


	@ApiModelProperty(value = "状态")
	private String tryListenstate;
	
	@ApiModelProperty(value = "来源")
	private String tryListensource;
	
	@ApiModelProperty(value = "是否删除")
	private Integer isdeleted;
	// 排序方式
	
	@ApiModelProperty(value = "购买总金额")
	private BigDecimal totalMoney;
	@ApiModelProperty(value = "客戶等级")
	private String customerLevel;

	private String createTime;

	private String headImgUrl;

	@Transient
	private String status;

	@Transient
	private Integer type;

	// 排序方式
	@Transient
	private String sort = "DESC";

	@Transient
	private int pageNum = 1;

	@Transient
	private int pageSize = Integer.MAX_VALUE;
}
